#include <iostream>
using namespace std;
#include <iomanip>
int main()
{
	//don't forget 2wei shuzu de 2ge changdu,buran hui bao cuowu.
	int array1[3][2] = {4, 2, 7, 7};//an shunxu chushihua.
	int array2[3][2] = {{4,2}, {7}, {5}};//an hang chushihua.
	
	cout << "an shunxu chushihua de shuzu wei: " << endl;
	
	for (int i=0; i<3; i++)
	{
		for (int j=0; j<2; j++)
		{
			cout << setw(2) << array1[i][j];
		}
		cout << endl;
	}
	
	cout << "an hang chushihua de shuzu wei: " << endl;
	
	for (int k=0; k<3; k++)
	{
		for (int l=0; l<2; l++)
		{
			cout << setw(2) << array2[k][l];
		}
		cout << endl;
	}
	return 0;
} 
